#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
    int main()
    {
        int m = 0;
        while (scanf("%d", &m) != EOF)
        {
            for (int i = 0; i < m; i++)
            {
                for (int j = 0; j < m - 1 - i; j++)
                {
                    printf(" ");
                }
                for (int n = 0; n <= i; n++)
                {
                    printf("* ");
                }
                printf("\n");
            }
        }
        return 0;
    }
